-- *****************************************************************
-- REDSTONE-HOST-MIB
--
-- Redstone Communications Inc. Enterprise MIB
-- HOST MIB
--
-- Copyright 2000 Unisphere Solutions Inc.
-- All Rights Reserved.
-- *****************************************************************

REDSTONE-HOST-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, 
    OBJECT-TYPE,
    IpAddress
        FROM SNMPv2-SMI

    DisplayString,
    RowStatus
        FROM SNMPv2-TC

    MODULE-COMPLIANCE, 
    OBJECT-GROUP  
        FROM SNMPv2-CONF

    rsMgmt
                FROM REDSTONE-SMI;

rsHostMIB MODULE-IDENTITY
    LAST-UPDATED "0001260000Z"
    ORGANIZATION "Redstone Communications Inc."
        CONTACT-INFO
        "
        Redstone Communications, Inc.
                5 Carlisle Road
        Westford MA 01886
        USA
        Tel:    +1-978-692-1999
                Email:  mib@redstonecom.com
        "
        DESCRIPTION
                "The host configuration MIB for
                Redstone Communications Inc. enterprise."
        REVISION      "0001260000Z"
        DESCRIPTION
                "Initial version of this MIB module."
    ::= { rsMgmt 33 }


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Textual conventions
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No textual conventions are currently defined.


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed object groups
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsHostObjects              OBJECT IDENTIFIER ::= {rsHostMIB 1}

rsHost                     OBJECT IDENTIFIER ::= {rsHostObjects 1 }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed objects for Host 
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsHostTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF RsHostEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The entries in this table describe host configuration information" 
    ::= { rsHost 1 }

rsHostEntry OBJECT-TYPE
    SYNTAX      RsHostEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry describing the configuration of a host."
    INDEX { IMPLIED rsHostName }
    ::= { rsHostTable 1 }

RsHostEntry ::= SEQUENCE {
    rsHostName                      DisplayString,
    rsHostIpAddress                 IpAddress,
    rsHostProtocol                  INTEGER,
    rsHostUserName                  DisplayString,
    rsHostUserPassword              DisplayString,
    rsHostRowStatus                 RowStatus
}

rsHostName OBJECT-TYPE
    SYNTAX      DisplayString (SIZE (1..20))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The hostname identifier associated with this host entry."
    ::= { rsHostEntry 1 }

rsHostIpAddress OBJECT-TYPE
    SYNTAX      IpAddress 
    MAX-ACCESS  read-create 
    STATUS      current
    DESCRIPTION
        "The IP address associated with this host entry."
    ::= { rsHostEntry 2 }

rsHostProtocol OBJECT-TYPE
    SYNTAX      INTEGER { rsHostFtp(1) }
    MAX-ACCESS  read-create 
    STATUS      current
    DESCRIPTION
        "The file transfer protocol associated with this host entry."
    ::= { rsHostEntry 3 }

rsHostUserName OBJECT-TYPE
    SYNTAX      DisplayString (SIZE (1..20))
    MAX-ACCESS  read-write 
    STATUS      current
    DESCRIPTION
        "The username associated with this host entry."
    ::= { rsHostEntry 4 }

rsHostUserPassword OBJECT-TYPE
    SYNTAX      DisplayString (SIZE (1..25))
    MAX-ACCESS  read-write 
    STATUS      current
    DESCRIPTION
        "The password associated with this host entry.  Reading this object
         returns a null DisplayString to avoid security breaches."
    ::= { rsHostEntry 5 }

rsHostRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Controls creation/deletion of entries in this table.
        Only the values 'createAndGo' and 'destroy' may be SET."
    ::= { rsHostEntry 6 }


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notification control objects
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No notifications are defined in this MIB. Placeholder follows.

-- rsHostTrapControl      OBJECT IDENTIFIER ::= { rsHostMIB 2 }



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notifications
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No notifications are defined in this MIB. Placeholder follows.

-- The following two OBJECT IDENTIFIERS are used to define SNMPv2 
-- Notifications that are easily translated into SNMPv1 Traps.

-- rsHostTraps            OBJECT IDENTIFIER ::= { rsHostMIB 3 }
-- rsHostTrapPrefix       OBJECT IDENTIFIER ::= { rsHostTraps 0 }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Conformance information
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsHostMIBConformance OBJECT IDENTIFIER ::= { rsHostMIB 4 }

rsHostMIBCompliances OBJECT IDENTIFIER ::= { rsHostMIBConformance 1 }

rsHostMIBGroups OBJECT IDENTIFIER ::= { rsHostMIBConformance 2 }


-- compliance statements

rsHostCompliance MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "The compliance statement for systems supporting host configuration."
    MODULE  -- this module
    MANDATORY-GROUPS { rsHostGroup }
    ::= { rsHostMIBCompliances 1 }


-- units of conformance

rsHostGroup OBJECT-GROUP
    OBJECTS {
             rsHostName,
             rsHostIpAddress,
             rsHostProtocol,
             rsHostUserName,
             rsHostUserPassword,
             rsHostRowStatus
    }
    STATUS      current
    DESCRIPTION
        "The basic collection of objects providing management
        of host configuration functionality in a Redstone product."
    ::= { rsHostMIBGroups 1 }

END